// import request from '@/utils/request'
import request from '@/libs/axios'

export function Register(data){
  return request({
    url:'/api/?s=App.User.Register',
    method: 'post',
    data
  })
}

export function Login(data){
  return request({
    url:'/api/?s=App.User.Login',
    method: 'post',
    data
  })
}

//获取会员列表接口
export function getHYList(data){
  return request({
    url:'/api/?s=App.User.GetList',
    method: 'post',
    data
  })
}



// http://api.yesapi.cn/?s=App.Table.Create&model_name=article&data={"title":"PHP程序员历险记","content":"PHP（外文名:PHP: Hypertext Preprocessor，中文名：“超文本预处理器”）是一种通用开源脚本语言。……"}